package com.lollipop.programming.designpattern.strategy;

import lombok.extern.slf4j.Slf4j;

import java.math.BigDecimal;

/**
 * @Author Lollipop
 * @Date 2025/4/10 10:02
 * @Description 支付宝支付策略
 */
@Slf4j
public class AliPayStrategy implements PaymentStrategy {
    /**
     * 支付
     *
     * @param amount
     * @return
     */
    @Override
    public boolean pay(BigDecimal amount) {
        log.info("支付宝支付：{}", amount);
        return true;
    }
}
